#!/bin/bash
# 用shell运行gnuplot

filename=example14.dat
echo "
set terminal png;
set output 'example14.png';
plot '$filename' using 1:2,\
  '' using 1:3 with points lc rgb 'black';
" | gnuplot
